package com.kaili.db.service;

import com.baomidou.mybatisplus.service.IService;
import com.kaili.common.exception.BaseExcept;
import com.kaili.pojo.entity.HsEwbsDispatchDetail;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author cgm
 * @since 2018-05-08
 */
public interface IHsEwbsDispatchDetailService extends IService<HsEwbsDispatchDetail> {

    boolean insertBatch(List<HsEwbsDispatchDetail> list);


    List<HsEwbsDispatchDetail> queryEwbDispatchDetail(Map<String, Object> search)throws BaseExcept;


    /**
     * 判断是否已派送或已签收
     * @param search
     * @return
     * @throws BaseExcept
     */
    boolean isDispatchOrSign(Map<String, Object> search)throws BaseExcept;
}
